package com.ghf.dp8;

public class Facade {

    SubSystemOne one ;
    SubSystemTwo two ;
    SubSystemThree three ;
    SubSystemFour four ;


    public Facade(){
         one = new SubSystemOne();
         two = new SubSystemTwo();
         three = new SubSystemThree();
         four = new SubSystemFour();
    }
    public void method()
    {
        one.methodOne();
        two.methodOne();
        three.methodOne();
        four.methodOne();
    }

    public void methodB(){
        one.methodOne();
        two.methodOne();
    }
}
